package com.lonely.goods.domain.vo.material.group;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * @author : 黄志标
 * @date: 2025/7/10 16:10
 * @description: 物料类型分组响应实体
 */
@Data
public class MaterialTypeGroupVO implements Serializable {

    /**
     * 主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 父id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

    /**
     * 类型名称
     */
    private String typeName;
}
